Skip to content

Delete predictive scoring model

Request

Delete a predictive scoring model.

Path
idinteger, (int64)required

Delete a predictive segment

curl -i -X DELETE \
  'https://api-cdp.treasuredata.com/entities/predictive_segments/{id}'

Responses

Delete a predictive segment

Bodyapplication/vnd.treasuredata.v1+json
dataobject(PredictiveSegmentJsonApiResourceAttr)required
includedArray of objects(UserJsonApiResource)required
Response
{ "data": { "audienceId": "string", "baseSegmentId": "string", "segmentId": "string", "scoredSegmentId": "string", "name": "string", "description": "string", "categoricalAsColumnNames": [ … ], "categoricalArrayAsColumnNames": [ … ], "quantitativeAsColumnNames": [ … ], "accuracy": 0, "areaUnderRocCurve": 0, "gradeThresholds": [ … ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "modelUpdatedAt": "2019-08-24T14:15:22Z" }, "included": [ { … } ] }